package STUDENT.TranMinhVu.OOPS.ArrayExercises.BaiTapQuanLySachThuVien;

import java.util.Arrays;
import java.util.Comparator;

public class BangQLMuonSach implements Comparator<BangQLMuonSach> {
		BanDoc banDoc;
		Sach sach;
		public int mabandoc;
		public int sodausach;
		public String[] dausach = new String[sodausach];
		public int[] masachmuon = new int[sodausach];
		public int[] sosachmuon = new int[sodausach];
		public String tenbandoc;
		
		public BangQLMuonSach(int mabandoc, int sodausach, String[] dausach, int[] masachmuon, int[] sosachmuon,
				String tenbandoc) {
			super();
			this.mabandoc = mabandoc;
			this.sodausach = sodausach;
			this.dausach = dausach;
			this.masachmuon = masachmuon;
			this.sosachmuon = sosachmuon;
			this.tenbandoc = tenbandoc;
		}

		@Override
		public String toString() {
			return "BangQLMuonSach [mabandoc=" + mabandoc + ", sodausach=" + sodausach + ", dausach="
					+ Arrays.toString(dausach) + ", masachmuon=" + Arrays.toString(masachmuon) + ", sosachmuon="
					+ Arrays.toString(sosachmuon) + ", tenbandoc=" + tenbandoc + "]";
		}

		public BangQLMuonSach() {
			// TODO Auto-generated constructor stub
		}

		public int getMabandoc() {
			return mabandoc;
		}

		public void setMabandoc(int mabandoc) {
			this.mabandoc = mabandoc;
		}

		public int getSodausach() {
			return sodausach;
		}

		public void setSodausach(int sodausach) {
			this.sodausach = sodausach;
		}

		public String[] getDausach() {
			return dausach;
		}

		public void setDausach(String[] dausach) {
			this.dausach = dausach;
		}

		public int[] getMasachmuon() {
			return masachmuon;
		}

		public void setMasachmuon(int[] masachmuon) {
			this.masachmuon = masachmuon;
		}

		public int[] getSosachmuon() {
			return sosachmuon;
		}

		public void setSosachmuon(int[] sosachmuon) {
			this.sosachmuon = sosachmuon;
		}

		public String getTenbandoc() {
			return tenbandoc;
		}

		public void setTenbandoc(String tenbandoc) {
			this.tenbandoc = tenbandoc;
		}

		@Override
		public int compare(BangQLMuonSach o1, BangQLMuonSach o2) {
			// TODO Auto-generated method stub
			return 0;
		}
		
		
		
}
